StoreKeeper\WooCommerce\B2C\PaymentGateway\PaymentGateway S

Total Complexity 45
Dependencies 12
Dependents 3
Total lines 534
Lines of code 329
Logical lines of code 128
Comment lines 111
Methods 25
Properties 0

Methods 25

Method Rating Maintainability Complexity Lines of code
addGatewayClasses()
S
46 4 38
checkPayment()
S
58 4 15
onReturn()
S
50 3 26
registerCheckoutFlash()
S
65 4 8
createRefundPayment()
S
61 3 12
refundExists()
S
57 2 17
isPaymentSynced()
S
58 2 16
getPaymentAmount()
S
58 2 16
getPaymentId()
S
58 2 16
getOrderReturnUrl()
S
67 3 7
updatePayment()
S
58 1 18
addRefund()
S
58 1 18
updateRefund()
S
58 1 18
addPayment()
S
59 1 16
querySql()
S
68 2 7
markRefundAsSynced()
S
62 1 12
getUnsyncedRefundsPaymentIds()
S
63 1 12
getUnsyncedRefundsWithoutPaymentIds()
S
63 1 12
createRefundAsPayment()
S
62 1 11
hasUnsyncedRefunds()
S
79 1 3
displayFlashError()
S
71 1 5
getReturnUrl()
S
65 1 10
markPaymentAsSynced()
S
64 1 10
hasPayment()
S
79 1 3
displayFlashCanceled()
S
78 1 3